package com.ljw.util;

/**
 * @author lijunwei
 * @date 2025/5/21
 */
public enum RuleEffectType {
    PERMANENT(0, "长期有效"),
    TIME_RANGE(1, "固定时间有效");

    private Integer code;

    private String desc;

    RuleEffectType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer code() {
        return code;
    }
}
